#pragma once
#include <stdlib.h>
#include <stdbool.h>
#include <assert.h>
#include <stdio.h>

typedef int HPDatatype;
typedef struct Heap
{
	HPDatatype* a;
	int size;
	int capacity;
}HP;

void HeapInit(HP* php);
void HeapDestroy(HP* php);
bool EmptyHeap(HP* php);
void HeapPush(HP* php, HPDatatype x);
void HeapPop(HP* php);
HPDatatype HeapTop(HP* php);
int HeapSize(HP* php);
